raise a RequestError when connection used after it was upgraded