Change how rpc_manager is constructed