fix multi-dispatch bug in Dispatcher#waitFor