Being Kicked from server

I cant be on any server for more then a few minutes without being kicked here is my log from opening the game to being kicked from a server:
[29/1/2022 19:22:02] [INFO] Game Launched!
[29/1/2022 19:22:11] [INFO] Game Connected!
[29/1/2022 19:22:11] [WARN] Game Reconnecting…
[29/1/2022 19:22:12] [INFO] Game Connected!
[29/1/2022 19:22:27] [INFO] Connecting to server
[29/1/2022 19:22:27] [INFO] Connected!
[29/1/2022 19:22:28] [INFO] Didn’t Receive any mods…
[29/1/2022 19:22:28] [INFO] Done!
[29/1/2022 19:26:13] [WARN] Failed to close socket!
[29/1/2022 19:26:15] [INFO] Connection Terminated!
[29/1/2022 19:26:19] [WARN] Failed to close socket!
[29/1/2022 19:26:19] [WARN] Failed to close socket!
[29/1/2022 19:26:19] [ERROR] Client: connect failed! Error code: 10038
[29/1/2022 19:26:19] [WARN] Game Reconnecting…
[29/1/2022 19:26:19] [INFO] Game Connected!

OBS: sometime it’s also error code 10051

Hello
You can try and run BeamMP as administrator
You can also try to allow BeamMP on windows firewall and any to all antivirus software that could be closing your connection.