wait for child processes while shutting down - version 0.9.0