[#301] fixed timer (setTimeout) not being cleared once elapsed