Improved VNC connections allocation and dead connections reaper