Set retry limit to 5, instead of the infinite default