Do not try to process more commands from the buffer after receiving a shutdown command.
Merge pull request #38 from whirm/shutdown_fix

Do not try to process more commands from the buffer after receiving a sh...