Fox: Ozzy Osbourne knew the end was near during final performance, friend says