Catch error when server is not connected
Skip tests when offline