On Thursday afternoon , hours before the company 's announcement , the Port Authority of New York and New Jersey , which owns the Newark container port , said it would terminate the lease of P & O Ports , the current manager of the terminal , in an effort to stop what it termed an illegal transfer to the Dubai company .