Recovery first stage. Code only for triggering process failure and recovery confirmation. need to write logic for what exactly to do in recovery mode