Added additional event handler for dealing with the onload event not firing for some browsers
Hardcoded the retry_delay