move the thread pool to the vayant module.
fix