Fix 'Exception if client disconnects' Bug in GuiCli