Remove invalid main thread check (osx)