Nipples don't work loose if you've selected the correct rim, hub and spokes for your application and that the wheel has been built with everything that makes a wheelbuild durable.
1) Strees relieving
2) Spoke tension as close as possible to the average on each side