exit process after setting domain