[MERGE] close wakeup fd of metadata

Signed-off-by: David Goulet <dgoulet@efficios.com>