Wait for transfers.

Don't execute the test until the transfers have completed.