Refactor postmaster child handling

Refactor postmaster child handling

Edit