Home Assistant not showing updates

Home Assistant is not displaying updates received in Mosquitto MQTT. I can see in the daemon.log that hass sees the update. In the line below the outside sensor updates to 77.5, but the hass website still shows an old temp and says the last update was 3 hours ago. If I reboot home assistant it will work fine for a few hours, and then stop showing updates.

Aug 15 09:58:31 raspberrypi hass[9673]: #033[32m2017-08-15 09:58:31 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: new_state=<state sensor.outside=77.5; unit_of_measurement=°F, friendly_name=Outside @ 2017-08-15T09:58:31.441202-04:00>, entity_id=sensor.outside, old_state=<state sensor.outside=77.4; unit_of_measurement=°F, friendly_name=Outside @ 2017-08-15T09:56:31.235959-04:00>>#033[0m

As soon as I restart home assistant, all the sensors update within a few seconds. Is there a way to reset HA’s connection to the MQTT server automatically? Or maybe a configuration to restart home assistant every hour?

I may have found a solution to this. I noticed a network issue happening once in a while on my network. I changed the ip that HA connects to from a lan address (192.168..) to the loopback address. This seems to have stopped HA from loosing a connection to the local mosquitto server.