cylc test-battery: Add fix for retrying