Dubai to end contract with Beirut port