Play sounds in a separate thread

- Avoid having the build loop waiting for sounds to finish playing.