checks for short circuits and adds a delay to Relay to prevent them