The thing is that Gomes was never brought here to be a starter, so the hopes of him turning good are useless as he won't be more than a backup player even he magically learns to play football... Sell this guy to partially fund actual needs of the team...
You don't pay 40 M+ for a backup
Had he been bought to be a backup we wouldn't have rejected three offers for him especially after the season he had.
It's clear that the club (wrongly) see him as a starter in the near future hence the desire to keep him