sets the retry count on the sensor @param retryCount how many times sensor should try to reconnect to the gateway
Sensor Methods