Manchester City boss Manuel Pellegrini says Joe Hart is close to signing a new deal to extend his deal at the club.