Change the logic to check if a processor is async