exit with the same status code