Moving temp file clearing back to HTTPSession.execute()