handle reuse of the env instance between requests (Unicorn compatibility)