Dollar gains as new infections cast doubt on recovery