Gracefully close the static web server