trigger an event on window when timing out so that scripts can hook into the failure