Clean up the request wrapper