better mutex management
add a test to prove the mutex issue
Remove duplicate test
Refactor JQManagedJob::run() and add more tests.
WIP: cleaning up open transaction bugs with JQJobs and mutexes.