This isn't connection lag, this is likely the Java VM running out of virtual memory (it's got a software limit and the extra physical ram won't help). The pause is the Java garbage collect halting the main thread to free up some more memory. This tends to happen to me a lot after playing for a bit and then going into a boss stratum.
You can get around this by restarting Spiral Knights. You can do this while in the Clockworks by killing javaw.exe in the Task Manager. The server interprets this as a disconnect and gives you a couple minutes to start the game up and sign back in to where you left off.