faye/faye-websocket-node — pull request #29 by glasser (2014-08-15 18:00:49+00:00)
Title: Test for faye/websocket-driver-node#8

If you decide to open a client connection but then close it before the
TCP connection succeeds, the websocket-driver change tested by this
commit will ensure that it will actually close, rather than ignoring the
close() method.

The change to API.close also seems correct to me, though I'm not sure
if there are any observable changes if you don't do it.