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.