Solve issue with engines not being configured due to sharing same python process