first draft of the timeout dispatcher

look at bug #1