fix crash when rfbInitClient() fails