holoirc: add code for handling disconnects