Arduino IDE 2.3.6 crashes when network disconnects

OS: Ubuntu 24.0 LTS
Arduino IDE version: 2.3.6

Whenever network (wifi) disconnects either manually or when computer goes to sleep as a result of inactivity. the IDE crashes with the following message. It has to be dismissed many times (about 6-7 times) before Arduino closes. Again if network is not there the same repeats. Unless network is restored, it does not work normally. Screenshot below:

Steps to reproduce:

  1. Start the IDE, load any sketch
  2. Turn off wi-fi
  3. Try to compile/upload

Is any one from the IDE team looking into this?