Time Warner and Fox working on agreement