 
   @constructors = {}
 
-  connect:    -> @transport?.connect()
+  connect: ->
+    @transport?.connect()
+    @_connectAttempted = yes
+
   disconnect: ->
     @isDisconnected = yes
     @transport?.disconnect()

    @forwardEvent @transport, 'close'
    @forwardEvent @transport, 'open'

    @transport.connect() unless @isDisconnected
    @emit 'ready'

  tell: (rpcMethod, params, callback) ->

    unless @invalid



      Promise.reject
        name    : "KiteInvalid"
        message : "Kite is invalid. This kite (#{name}) not exists
                   or there is a problem with connection."
        err     : @_invalid


