Man gets new trial after judge nods off