Probably from frap (“draw together tightly”).
thrap (third-person singular simple present thraps, present participle thrapping, simple past and past participle thrapped)