Do not allow any commands except 'connect' when the client is not connected