avoid having an exception when it is impossible to connect to the notebook server