Add logic to check the status of the chef running in system creating