bugfix: disconnection from erc properly