Tunnel shutting down in a few hours

Im on windows, and my minecraft server is online, but the tunnel shuts down, and i have to restart the playit app every few hours. Anyone know a fix to this?