Added queue-polling as a background task