Implemented multithreading client