Synchronize clears and reads in transient attachment tests