Added ConnectCommand close handle specs.
Added port to close handle.
Added close handle in ConnectCommand.