nsqd: fix race when get/set client metadata (test flakiness)