We can't guarantee another thread won't be trying to log as we're terminating the process, so just don't bother deleting the critical section