mpd: library paging
mpd: make reconnection more robust