mpd and a sig handler