AnimationEngine#destroy() blocks when called from runAnimationLoop()