In my application I’m able to connect to the Amazon AWS IoT core via mqtt. But after several hours, first I’m not able to control my device anymore via the Shadow (desired), then, after a few hours I see this message in the AWS control page: "Mqtt connection lost. Reconnect. Error code: 8. AMQJS0008I Socket closed."
What can be the problem?