replace the futures in the client with an actor