Dharmendra walks out of the movie