Remove dead code
Ease a race condition in log rotation.