A couple of fixes

[MSC-148] Fixing deadlock using open calls + serializing thread execution
[MSC-149] Fixing awaitStability() bug