reconnect while disconnected

do automatically reconnect while connection is down