def signal(self, signum=None, frame=None):
        """
        handle signals
        """
        logger.debug('PID %d, received signal: %d' % (self.pid, signum))
        self.SIG_QUEUE.append(signum)
handle signals