He pledged ongoing cooperation with neighboring African countries that face the threat of terrorism .