fix disconnection in server and add in clieb status bar