Added possibility to send notification if task_manager->process fails