Improved concurrency handling and mqtt startup behaviour

This change fixes an issue where looking up multiple transformation services concurrently would result in intermittent long periods of locking during start up.  
Special thanks to @sumnerboy12 for documenting, investigating and testing this issue.