Add catch for NoConnectionError: java.net.SocketException