Free some memory in the parent before waiting.
Update TODO.