Fixed hang on rc_parallel=yes

Related: https://bugs.gentoo.org/show_bug.cgi?id=391945