redo cleanup and say goodbye after exit