Logging on request error handler to find socket hang up