Emit the `end` event when the client doesn't attempt to reconnect

Title is pretty much self explanatory.