Exit process on finish