From what i can tell the Xaudio thread is not shutting down during exit and keeping the process open.