handle stop command
No functional change.