The Thread can hold a list of ModelAction (instead of Threads) that are waiting
for its completion. This will give the exiting Thread a better ability to
handle the event.
This also deletes Scheduler::wait, since it is no superceded by Scheduler::sleep.