Avpublisher session stopped after few hours



I have been testing mangOH red to post data of few sensors to cloud after like 12 hours then redSensorToloud stopped posting data to airvantage. After looking in the debug logs looks like the app is still running but no message being posted. Attached is the logread and picture

logread | grep redSensorToCloud output
avpublisher_stopped.txt (1.2 MB)

What might be the problem, it is happening every 10 hours or so…

Is there anywhere I have to specify the session timings or this session handling should be rewritten in code to initiate a new session when a session stops ?