simplify TaskDispatcher spec