There is a conflict of interest. Foreign aid won't work because you're effectively paying corrupt politicians to keep their country unstable so that they can collect more foreign aid.
Foreign aid doesn't have to be given to local politicians for them to distribute as they see fit. You can also pay trusted outsiders to do it instead. And the magnitude of repeat payments should probably depend on how much the previous installments helped instead of how bad the situation still is.