Server crash if control box mode is changed
Situation: Hardware running in "PC" mode. Device server running. Device server is connected to hardware. Trigger: Control switch on hardware is changed from "PC" to "HAND" Result: The device server crashes. It does not communicate with any tango object anymore. Additionally, it is shown in Astor as running but an attempt to kill the process results in an error message saying, that the server is not started. Workaround: Open Task Manager / terminal and kill the python process. Solution: The device server should recognise the hardware button switch and close communication properly.