Latin American nations end crisis with handshake