It's a total scandal.
Never ever follow their instructions to cancel your Direct Debit after you paid off your phone money.
They will charge you a lump sum of all 24 months contract price you were due to pay within next month and disconnect your contract.
It's then your job to waste your whole day or two trying to ask for your money back.
That's O2's business logic, proved twice myself.