new finish method in the wsgi request