drain alsa stream before closing it

Also tweek condition that discard late packets as the ultimate goal
is to play audio packets as close as possible of their ts. this is ok
if the closest point in time is a bit ahead.