polling-jsonp: prevent spurious errors from being emitted when the window is unloaded
Merge pull request #288 from lpinca/fix/polling-jsonp-cleanup

polling-jsonp: prevent spurious errors from being emitted when the window is unloaded