Make sure to exit with success if no error.