Fix bugs in HelperThreadL2RequestProfilingHelper.