Inter close in on Ranocchia