Cleaning up http request