Fixed issue with mulplying desktops in case connection was restarted