Cope with CaretManager being destroyed while waiting for setTimeout to elapse