playlists are now closed properly, fixes #354