add exit request and close