[PD-dev] freeing a file descriptor in linuxevent