Production of sperm reduces nematode lifespan