Cleanup mock request handler