temp fixed server closing too many connection when one client leaves.
fixed client id assignment error