Add recover for task ruotine running