Latest commit ac2dade Jan 14, 2017 @lpinca lpinca committed on GitHub [fix] Prevent WebSocket#close() from triggering an infinite loop (#969)
This prevents `WebSocket.prototype.close()` from triggering an infinite
loop if called from an error listener while connecting.