Secretary-General Ban Ki-moon bids farewell to United Nations