Fix #4410--'service salt-minion restart' hanging when called via ssh -C

Fixes #4410