Improve sync

* Do not duplicate playlists
* Retry sync up to 10 times