every 500 loops the rfm22 is reset as it has a habit of crashing