Fix a typo in the shutdown function
Merge pull request #38 from lmacken/master

"undefiend" typo in shutdown()