Fix GuiCli breaks if client disconnects Bug

close #31