It was frustrating to come so close to victory over South Africa, but England head coach Stuart Lancaster was pleased with the second-half performance.