Give our child some time to exit gracefully

This will slow down shutdown just a bit but at least we give our hopefully
still running child some time to close it's resource properly and all.

PS. This code doesn't actually harm any kids, don't worry.