make sure we are ending the HTTP request