Improved the UI (write on the same line, counters…), wait for the server to recover in case of error.