Do not wake parents when child is blocked on wait4.

Fixes #304.