DelayedThread constructs threads with delayed execution.