Add a QMessage box to alert the user if it is impossible to do the connection with the server -> do not close the application