Revert "Fixed a memory leak when a connection is closed the topics shoul...

...d also be removed if they are empty"

This reverts commit c089aea8ebad521795610feb36bc7a937794a88c.

reverts #185