Take measure against failure of Http request