code: def _timeout_handler(self, signum, frame):
          
          msgfmt = 'plugin timed out after {0} seconds'
          self.exit(code=self._timeout_code,
                    message=msgfmt.format(self._timeout_delay))
docs: internal timeout handler