Retry creating new WebSocket if there is a SecurityError in IE