exit with status 2 for pending