Green’s Dictionary of Slang

dancing master n.

1. the hangman [dance v. (2)].

[UK]Partridge DSUE (8th edn) 290/1: late C.17–early 18.

2. a cat burglar [SE dance].

[UK]Hotten Sl. Dict.
[UK]Sl. Dict.