-added fix to clearTimeout so that even in the deferred case where normal setTimeout is used, it is still cleared immediately.