A County Durham defendant who insulted a judge and refused to apologise was jailed for an extra two months for contempt of court.