         @outstandingCallbacks = {}
         @nextToken = 1
         @open = false
+        @closing = false
 
         @buffer = new Buffer(0)
 

        ).nodeify callback

    cancel: ar () ->
        @outstandingCallbacks = {}

    reconnect: (varar 0, 2, (optsOrCallback, callback) ->

    _delQuery: (token) ->
        # This query is done, delete this cursor
        delete @outstandingCallbacks[token]

    _processResponse: (response, token) ->
        profile = response.p
