helpful shutdown hook
bumpbing ver for shutdown hook