feat: introduce global thread pool and rename ShellOtps
to GlobalOpts
#9313
+243
−132
ShellOtps
to GlobalOpts
#9313