Retry the application of a template if it fails. 

This can happen if the service has been restarted just before the template is applied.