Connection lost to game when losing connection in steam

If steam connection goes out for even a second the game will give you a connection loss error and never reconnect even when you have internet access. I noticed this a couple of weeks ago and I’m fairly certain of it now. Basically I get a ‘connection lost attempting to reconnect’ error and then I see all my steam friend popups playing their games in the bottom right corner, which is indicative of reconnecting to steam. Despite the fact that I still have this connection and I’m able to access the web in an offscreen browser I will never be able to reconnect. Please try to solve this.