Fix process crash after request finished, when wsgi.input had been consumed.