🐛 virtual printer: Fix handling of closed connection
🐛 virtual printer: Fix handling of closed connection

Closes #3114

Jaesin/OctoPrint,foosel/OctoPrint,Jaesin/OctoPrint,foosel/OctoPrint,Jaesin/OctoPrint,foosel/OctoPrint,foosel/OctoPrint,Jaesin/OctoPrint