Add shutdown code 10

Added shutdown code 10