working on multithreaded ptrace attachement