Detecting open relays