Removed unnessecary argument in Client and removed redundant Thread