Check that WS connection is open before closing it on 'websocketFailed'. Fixes #3346
Check that WS connection is open before closing it on 'websocketFailed'. Fixes #3346

yzarubin/react-native,yzarubin/react-native,yzarubin/react-native,yzarubin/react-native,yzarubin/react-native,yzarubin/react-native,yzarubin/react-native,yzarubin/react-native