Many countries have improved their response as the pandemic has progressed but the WHO Director-General says the world needs to be ready for next time.