Somali president says insurgents near total control