Adding profiler logging at the end of chunked request