Add RetriedCommand to transparently execute command with retries