ESP8266+DHT22 connection loss?

Hello, I’ve been using my ESP8266 and DHT22 to monitor indoor temp and humidity levels (see: Getting Started With the ESP8266 and DHT22 Sensor) and since the beginning, I have had one issue where after approx. half the day it suddenly no longer relays data to my Losant Dashboard. For example:

Date Sent Rec. Details
11/20/2018 20:46:30 100 0 Connection Closed

Is what is received under connection reporting. I can say that I have tested this error with 3 other ESP8266 devices and all have done this. Following the assumed connection loss, i have to manually restart the deivce and this has proved tiresome after several months of doing this so if anyone has any advice or solutions it would be much appreciated. Thanks, Nick.