U.S. stock markets in retreat, modest losses across the board