added waiting function to track if transfers or deletions succeed"