The offline malfunction is common and does not necessarily mean a sensor has failed. It is a direct indication that the panel has missed supervision signals from the sensor.
This happens for a variety of causes, including lower battery levels and metal surfaces.
If it occurs and you cannot get it to resolve by moving the sensor closer and opening/closing it, the sensor may indeed have a failed radio.