Gracefully close the static web server
Fixed undefined server error, and returned server at end of function
Merge pull request #1 from travisperson/master

Close the static file server gracefully