On 12 August 2021, after 22 goalless league appearances during the 2020–21 campaign, Gallego terminated his contract with the club.