Move portDB attrs to loop() local vars.