init.py: fix hang after first process dies