Does the SDK do any thread safety guarding internally? Like locking for all publicly exposed functions?