def cleanup(self):
        """This cleans up Douglas after a run.

        This should be called when Douglas has done everything it
        needs to do before exiting.
        """
        # Log some useful stuff for debugging.
        log = logging.getLogger()
        response = self.get_response()
        log.debug('status = %s' % response.status)
        log.debug('headers = %s' % response.headers)