make sure to log the response time in all cases