This is not caused by periodic tasks but from tests that don't mock calls to build_instances(), which results in a separate thread being spawned.
This is not caused by periodic tasks but from tests that don't mock calls to build_instances(), which results in a separate thread being spawned.