Cleanly remove the device FD from the event loop before closing it.
[tinc] / src / solaris /
drwxr-xr-x   ..
-rw-r--r-- 10035 device.c