use shutdown to exit process.