fixed issue with reconnection logic on network failure