move quit process inside the namespace