IKEA tradfri connection

I have been using the IKEA tradfri integration for some time I only run into a problem every x number of hours home assistant has lost the connection to the hub and I have to restart HA to re-establish the connection what can I do about this