ptrace: do not allow for parallel ptrace requests
(cherry picked from commit 9ebf9100bad129a92961572ac862781d6c5681c7)