changed int to long for store_retry_count