Clean up timer_wrap.