Add retry for printer client comms with card api
Ensure that we have resiliency in the process which marks a card as being printed - we should make this retry logic generic and move it to identity lib.
We should expose through the config the number or retries / time between retries. Consider using https://github.com/jd/tenacity.
Edited by Monty Dawson