catch error if mpd connect fails