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

dercodebearer/primus,primus/primus,STRML/primus,dercodebearer/primus,STRML/primus,modulexcite/primus,colinbate/primus,dercodebearer/primus,clanwqq/primus,basarat/primus,colinbate/primus,basarat/primus,STRML/primus,modulexcite/primus,primus/primus,modulexcite/primus,beni55/primus,clanwqq/primus,beni55/primus,primus/primus,clanwqq/primus,basarat/primus,beni55/primus,colinbate/primus