pub async fn do_single_rpc_call<P: Serialize + 'static, R: DeserializeOwned + Send + 'static>( lock_file: &Path, log: Logger, method: &'static str, params: P, ) -> Result<R, CodeError>