[FIX] clients crash when not connecting to a server