check if syncReference exists before cancel