Fix issue #152, refuse to Quit if long-running job in progress