Fails if there is a problem