added auto refresh get messages after reconnect