Audit office criticises court failure to stamp out delays