process duration is now logged after request closes