Sheriff: Man takes own life fleeing a search warrant