handle socket errors in vnc capability