Make all number of retries as constants