memory leak fix

memory leak fix
Merge pull request #622 from seobyeongky/patch-2

setTimeout memory leak fix