Performs cleanups operations and quits the objection REPL.
