The dispatch loop was wrong