I get an error message line 187 ncd_industrial_relay.py

I have a feeling this is from a laggy network.
Is there a way to compensate.
It happens randomly to different floor requests