class Slack::RealTime::Concurrency::Async::Socket

def disconnect!

Kill the restart/ping loop.
def disconnect!
  super
ensure
  if (restart = @restart)
    @restart = nil
    restart.signal
  end
end