Add shutdown function to make actions before offline

Created by  O01eg  on January 22, 2019
5Y6YJ6UH55XJLPQ627ZGKTHW3IUFPFS5C4AYNCS6BX4BAWPLEZQAC
Change contents