Raised retry count to 10. After 5 retries connection gets reinitialized after each failed attempt