Mark the setTimeout threads as daemon threads
Clean up some code cruft