fix(ws server): close all subscription when the connection is closed (#725)
* fix(ws server): close all subscriptions * fix test * better comment and longer period * revert unintentional change
* fix(ws server): close all subscriptions * fix test * better comment and longer period * revert unintentional change