Add shutdown hook to CloudStorageSystemProvider