removing logs and uneeded onTaskRemoved restart