java.net.Socket.Exception something something, it always happens. If not that then you just freeze for 10 seconds and get killed during lag. What's up with the server?