MINOR: send a 504 back to the client if there has been a read timeout