printer.device: Fix hang due to race condition exposed by port-handler