Rename terminate to shutdown