Remove pdo queue specific code from worker.php