Adding task recovery sample