Cleaner startup and exit