A NotConnectedException will be raised when trying to perform a function but no connection has been established