Update dependency & implement shutdown hook

4 jobs for 0.5.1 in 6 minutes and 14 seconds (queued for 2 seconds)
latest