in websocketserver/websocketserver.go [294:301]
func (s *Server) Close() { if s.conn != nil { s.conn.Close() } s.stopPolling() s.conn = nil }