Better manage subscriptionCounters (#14608)
Better manage subscriptionCounters (#14608)

Before this change:
- unsubscribe() was not called for a disconnection
- It seems that WebSocketClient calls connected() and reconnected().
  subscriptionCounters were incremented twice for a single reconnection,
  first from connected() and second from reconnected()

This might be a an additional change to
https://github.com/tootsuite/mastodon/pull/14579
to recover subscriptions after a reconnect.
glitch-soc/mastodon,glitch-soc/mastodon,yukimochi/mastodon,abcang/mastodon,yukimochi/mastodon,MitarashiDango/mastodon,glitch-soc/mastodon,tootsuite/mastodon,lynlynlynx/mastodon,imas/mastodon,musashino205/mastodon,Nyoho/mastodon,tri-star/mastodon,ikuradon/mastodon,im-in-space/mastodon,MitarashiDango/mastodon,maa123/mastodon,lynlynlynx/mastodon,maa123/mastodon,ykzts/mastodon,gol-cha/mastodon,gol-cha/mastodon,Nyoho/mastodon,MitarashiDango/mastodon,im-in-space/mastodon,Kirishima21/mastodon,tootcafe/mastodon,im-in-space/mastodon,im-in-space/mastodon,lynlynlynx/mastodon,primenumber/mastodon,masto-donte-com-br/mastodon,yi0713/mastodon,tri-star/mastodon,gol-cha/mastodon,maa123/mastodon,tri-star/mastodon,Kirishima21/mastodon,tootsuite/mastodon,Nyoho/mastodon,musashino205/mastodon,gol-cha/mastodon,cobodo/mastodon,theoria24/mastodon,danhunsaker/mastodon,lindwurm/mastodon,abcang/mastodon,glitch-soc/mastodon,Ryanaka/mastodon,koba-lab/mastodon,primenumber/mastodon,tri-star/mastodon,imas/mastodon,pinfort/mastodon,yukimochi/mastodon,theoria24/mastodon,pinfort/mastodon,ikuradon/mastodon,h3zjp/mastodon,musashino205/mastodon,ykzts/mastodon,pinfort/mastodon,cobodo/mastodon,tootsuite/mastodon,imas/mastodon,ikuradon/mastodon,masto-donte-com-br/mastodon,yukimochi/mastodon,Ryanaka/mastodon,abcang/mastodon,masto-donte-com-br/mastodon,koba-lab/mastodon,cobodo/mastodon,ykzts/mastodon,danhunsaker/mastodon,yi0713/mastodon,yi0713/mastodon,danhunsaker/mastodon,tootcafe/mastodon,Kirishima21/mastodon,h3zjp/mastodon,tootcafe/mastodon,danhunsaker/mastodon,yi0713/mastodon,MitarashiDango/mastodon,cobodo/mastodon,maa123/mastodon,theoria24/mastodon,koba-lab/mastodon,Ryanaka/mastodon,theoria24/mastodon,Kirishima21/mastodon,h3zjp/mastodon,abcang/mastodon,pinfort/mastodon,tootsuite/mastodon,primenumber/mastodon,Nyoho/mastodon,h3zjp/mastodon,lindwurm/mastodon,primenumber/mastodon,koba-lab/mastodon,lynlynlynx/mastodon,Ryanaka/mastodon,ikuradon/mastodon,imas/mastodon,lindwurm/mastodon,lindwurm/mastodon,ykzts/mastodon,musashino205/mastodon,tootcafe/mastodon,masto-donte-com-br/mastodon