Replacing __close listener when close is explicitly closed

Otherwise we'll always reconnect when an explicit close call should not.  Also, setting it to null is apparently causing errors.