Fixed issue with no connection to server.