Add a delay to complete the fade out animation.