Fixing race condition/locking/some weird issue in a multi-threaded environment.  Not sure why this is happening.
Merge pull request #58 from avalonmediasystem/bugfix/VOV-1499

Fixing race condition/locking/some weird issue in a multi-threaded envir...