Fix yet another unescessary timeout at shutdown when logs are being polled.