Fix possible data race in geard deployment test