Clean up error handling & don't pass unused parameters
Don't set an HTTP server write timeout