limited thread creation needed for deadlock avoidance