In just a few weeks' time, good relations with neighbors have become a matter of survival for Yemen's President Abdu Rabu Mansour Hadi.