US stock market closes lower with tech stocks losses