Refactoring of runner_client to use futures.