[PATCH 0/3] Fix recent deadlocks when spawning processes