WYZE Cam V3 + 3 lamp Sockets


I am having a problem with a light socket. I have 3 of these sockets connected with a WYZE Cam V3 outside my garage. I have established a rule of opening the lights at sunset and closing at 10:30 p.m. But, after some time (never the same duration), one of the sockets stops working with the others. The light stays on. The only way to fix the situation is to turn off the switch, wait a few seconds and then turn it back on. The distance between the main socket and the one that disconnects is about 10 feet, and this is just around the corner of the garage (6 feet + 4 feet). The other socket, which is 18 feet away in a straight line, still functions normally. Anyone have an idea how to solve my problem?

Thank you