US stocks close lower, failing to recover from previous losses