Havana cut off relations with Panama on August 26 , 2004 , after then-President Mireya Moscoso pardoned the Cuban exiles .