added close to loadstop event to see if that will work
added set timeout