Fixed resource leak related to Audio native resources not freeing afterconnection was terminated. (commit: 0658fdd)
Added synch locks when setting up audio connection to prevent raceconditions. (commit: 42edfd5)