Quit command:

http://stackoverflow.com/a/25596386/281545