Implements polite exit :crown:

So that windows program does not close terminal