WASHINGTON A loophole that permits software companies to sell cyberstalking apps that operate secretly on cellphones could soon be closed by Congress. The software is popular among jealous wives or husbands because it can continuously track the whereabouts of a spouse.