Topics are not removed from mTopics map on unsubscribe. Therefore we get "Attempted to subscribe to already-subscribed path!" error when trying to subscribe again. The fix seems to be pretty easy.
Though I would still suggest automatic resubscribing to topics when sockets are connected.