hi asmadei and welcome to the toribash community,
there's an easy solution to this. I have the same "problem". connect to a server and when it says "not connected" just load up the multiplayer list again and connect to the same server again and you'll be connected. I have no idea what causes this tho. Hope I could help.
cheers,
Axel