Clean up after profiling