Ensure that .cleanup() will perform only after animations have lapsed.