U.N. foreign ministers take on terrorism