Audaplay demo update to exit exactly when the playback ends, instead of sleeping.