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