fix data race in integration

Signed-off-by: Nick Wade <nwade@pivotal.io>