test removing setTimeout