Fixed unneeded calls to tearDownXhprof()