fix unclosed polling connections to mpd

Every second the main loop checks if the player(s) is still running.
With mpd this means trying to open a connection. The Telnet() call was
only checked for errors and if it succeeded never closed.
Merge pull request #12 from polyphemus/fix-mpd-cons

fix unclosed polling connections to mpd.
Thanks @polyphemus