The deletion could happen there, but I want to avoid the case where you close, and some lingering log attempt (due to chunkyness) automatically reopens it never to close again, because the user thought he closed it. I would rather see an error. This has everything to do with graceful shutdowns. The alternatives (not very appealing at this time) are:

- count log attempts, so we know how many sends are pending, so we can wait for that (a bit scary because a bug in that could get really ugly)
- build a send queue, and never do more than a single send in parallel (hurts performance for no good reason).