Added close command.