Added one more case for connect command.