added set timeout to remove iframes