Verify shutdown invoked only once

Haha yeah it is, my bad.