Replacing PooledScope with thread local scope doesn't allow for proper handling of .maxTimeMS() in a find query that contains a $where expression. This caused two test suites to fail that were subsquently blacklisted in SERVER-45454.
The work here should investigate how to correctly support MaxTimeMS in the js thread local scope machinery.
See SERVER-45454 for the relevant tests that were blacklisted.