Checking for preemption and added a few dependencies for recover states