- Added a cleanup function purging ticket file(s) after finishing http request