Setting default vaule for retry_count to 0