An event is configured to call the automatic reaction script, but the script do not complete and does not return a value. This happenes after process cpsemd has crashed on thread starving.
After the process stops working, the script still occupied cpsemd port 1025 used to connect to fwm.
When the CP watchdog re-launch cpsemd it tries to increment the port, while fwm that is not informed that the port was changed still try to connect to port 1025.
This causes the GUI not to connect.