Fix the race condition of `queueFullErrorMessageLogged` and log the error from listener rather than crashing `listenerThread`.