add remain-on-exit