Main process finished.