US spy agency stops gathering some messages from Americans