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