Neural circuit mechanisms underlying context-specific halting in Drosophila