Add mutex around critical sections.
Add extra lock to be safe.
Merge branch 'fix_multi-threading' of https://github.com/letiemble/monobjc into letiemble-fix_multi-threading