Judge weighing dismissal of NYC mayor’s case cancels hearing, suggesting a ruling could be near