updated solution for stopping blocked client thread on reading problem
fixed some bugs on the server and applied concurrent class from concurrent package.