update java_ark resources to make use of retries