Re-establish HTTP connection after failure