Remove logic for logging queue length

This simplifies the PR significantly. Now it's strictly a bug fix.