am ad0d97c7: Perform an orderly shutdown if possible, force disconnect if necessary

* commit 'ad0d97c7cf620e96a0b088dd9461645a3f8900b7':
  Perform an orderly shutdown if possible, force disconnect if necessary