Exit process when complete