Nuclear thermalization and mean field effects in heavy ion reactions