Freezing whenever trying to join/disconnect from a server

As of recent, most likely from the recent update, whenever I have to join or leave a server, the game freezes for about a minute before actually going to the loading screen (Or the main menu if disconnecting). This seems to happen with all the servers I try to join, not sure what could be the cause other then the recent update.