# File ruby/bstream.rb, line 1117
        def start
          @shutdown_flag = false
          @socket_thread = Thread.start do
                begin
                  connection_loop
                ensure
                  dputs "BinClient: connection-thread finished."
                  @socket_thread = nil
                end
          end
        end