add try catch blocks around sensor tag rssi logic