Dictionary.com
Thesaurus.com
had been writhing
  • past perfect progressive of writhe.