Use shutdown hook in last acceptance test