protected void configure() {
install(new StateModule(timeout));
PoolFiberFactory fiberFactory = new PoolFiberFactory(executor);
Fiber raftFiber = fiberFactory.create(new BatchExecutor());
raftFiber.start();
bind(Fiber.class).annotatedWith(RaftExecutor.class).toInstance(raftFiber);
Fiber stateMachineFiber = fiberFactory.create(new BatchExecutor());
stateMachineFiber.start();