Chunk server: shutdown client threads at the beginning of the chunk manager shutdown, and then invoke client threads shutdown again, immediately before disk io shutdown to ensure that all pending queues are properly flushed during graceful shutdown.