Maybe in the wrong place, but the idea is to avoid errors that destroy the queuing loop process.