reconnect if connection not alive