Issue #259: Preventing SRWebSocket crash