MEDIUM: threads: close the thread-waker pipe during deinit

In order to avoid FD leaking, we close the pipe used to wake the threads
up during per thread deinit.
diff --git a/src/fd.c b/src/fd.c
index cbb7b47..1a5419d 100644
--- a/src/fd.c
+++ b/src/fd.c
@@ -497,6 +497,8 @@
 {
 	free(fd_updt);
 	fd_updt = NULL;
+	close(poller_rd_pipe);
+	close(poller_wr_pipe[tid]);
 }
 
 /*