Logitech Harmony problem

I can integrate with my Logitech Harmony ok with an old Amazon Fire 7, but after a day or 2 it disconnects with the message: The WebSockek is in an invalid state (‘Aborted’) for this operation. Valid states are Open ClosedReceived. If I restore the program everything’s ok again for a day. Using my ipad, iphone and Win 10 designer, it works fine. I use this as a button click to turn my ir fire on and off.