MPD checking and connecting