Add recovery functions, to update state of application and enqueue tasks on swiftwave restart [only for single node]