Closed courts costing half a million pounds per year