I am changing the default urlconf in a middleware based on the requested hostname and it\'s working as expected during development, however I am concerned about racing/threads a