See https://github.com/TooTallNate/Java-WebSocket/issues/380#issuecomment-311714519 Specific IOException should call onError to notify the endpoint about the issue!
See #380 (comment)
Specific IOException should call onError to notify the endpoint about the issue!