remove proxy only after final response