Introduce the MaxAttempts option to Service