jitterbuffer: rework resync handling