The neuronal mechanisms underlying locomotion termination