socket Game java with multi threading