Cleanup serial and lpt timers.