Add missing namespace package declaration
Close child process in destructor