'If an on_signal_callback has been defined, call it returning the
string \'SIGTERM\'.'

def _handle_sigterm(self, signal_watcher, libev_events):

    LOGGER.debug('SIGTERM')
    self._on_signal_callback('SIGTERM')
