modified/use threaded client handler