Support of the exit method.

There was no ability to exit casper.