Would this help you? Maybe turn on a switch that triggers a rule to reset the outlet. Have a look it may work for you.