Understanding Strategic Adaptation in Multitask Settings