replace eventfd by pipes, first implemtation of mpd client