Revert "move task-corruption cleanup to the browser"