add process exit