only create new process domain if necessary