wait for collections to be dropped during tests