Refactoring close command. Add command to README.