Bug 1047645 - Use manual timeout to guard _closed event from not firing

https://bugzilla.mozilla.org/show_bug.cgi?id=1047645