(This is not 100% ideal; possibly should try to distinguish between server errors and rejections, etc.)