class Slack::RealTime::Socket

def start_sync(&block)

def start_sync(&block)
  thread = start_async(&block)
  thread.join if thread
rescue Interrupt
  thread.exit if thread
end