Malaysia has been losing over 12,000 teachers annually to optional and compulsory retirement for the past three years.