separate thread to attach procs to clients