Clean up serial thread that never exits.