Added fallback trying to fix server crashed.

Currently, the server crashes almost daily with the error "SocketException: OS Error: Connection reset by peer".