Make it possible to resume after failure