'Protected convenience method for subclasses to force an exit. Not
really thread-safe, which is why it isn\'t public.'

def _exit(self, reload=False):

    if self._keepGoing:
        self._keepGoing = False
        self._hupReceived = reload
