added listener fro disconnect message