     @emit "disconnected", @reason
 
   stopPingingKites: ->
-    @eachKite (channel) ->
+    @eachKite (channel)->
       channel.setStopPinging()
 
   eachKite: (callback) ->

      options = autoReconnect : options

    autoReconnect = options.autoReconnect
    @reason = options.reason or undefined

    @remote.disconnect(autoReconnect)
    @disconnected()

      @startPingingKites()

  startPingingKites: ->
    @eachKite (channel)->
      channel.setStartPinging()

  disconnected: () ->
