Add retry for getAllProcessInstances as a workaround for #51