'Close and return any error message'

def _close(self):

    if (not hasattr(self.app_iterable, 'close')):
        return None
    try:
        self.app_iterable.close()
        return None
    except:
        close_response = self.error_middleware.exception_handler(sys.exc_info(), self.environ)
        return close_response
