exit after whatever happens