Handle i/o timeouts and return HTTP 408