sockvnc - more rebust termination