Catch SocketTimeoutException when checking server status.