Changed the way bash is initialized. Typing exit now kills the main bash process. So no separate 'exit' handling. The begin, rescue should take care