John Mayer Had 'Hang Ups' About Katy Perry Duet