clean up revep and exit with exit(2)