Fix PI-E712 (and other multi-axes) dead-lock at init.
requested to merge 4186-dead-lock-at-initialization-with-multi-axes-pi-controllers_BACKPORT_20x into 2.0.x
"with self.sock.lock" moved down in the function to differentiate commands requiring an answer and the others.
Closes #4186 (closed)