Check that connections are not null in the isConnected() method.
Avoid null pointer exception if a getStatus() requests happens before connect().