fixed resubscription when different sockets type are in place