This reverts commit 3615d6d96c5d1c8fd0ccb1ee0bc176e9c94ac730. Ultimately, we want to restore the ability to store a profile per-thread, but for now reverting this fixes a fairly disruptive bug. Release Notes: - Fixed a bug causing the agent to use the wrong profile in some cases.