[TPL] Add mono internal API support

Why did we need to introduce those Atomic booleans?