added a huge retry count to prevent 24h disconnect