psgi_app() should always update QUERY

A PSGI code reference returned by psgi_app() doesn't update QUERY,
while $env is updated, and so we can't reload the PSGI app.