removing setTimeout