vnc: avoid possible file handler leak