US agency for African development will ask court to prevent its closure