[Fix] Deinitialize the audio manager to avoid memory leaks.

@FernetMenta @fritsch for review.