handle intrrupt reconnecting device