Digitemp in daemon mode do not handle disappearing devices (e.g. DS9097 via usb to serial adapter). It closes the fd, but tries to access that descriptor forever afterwards. I suggest a workaround that works on my system for a long time. It contains two patches. The first patch (close.patch) helps to forget fd after close, overwriting fd value with -1. The second patch (assert.patch) calls assert when digitemp tries to access closed descriptor. This is not real solution since error is handled by assert in library, but it works fine, when digitemp daemon is running under an external supervisor, that restarts failing processes.