Import sys for exit.