pub fn get_or_create_client_from_state(
    state: &mut OpState
) -> Result<Client, AnyError>