Ensure the relay control is released after closing the relay