stoppable rpc server