[PATCH 145/204] NTB: perf: Fix race condition when run with ntb_test