fix crashed api test thread making a Jenkins build hangs
Merge pull request #3130 from WormBase/crashed-api

fix crashed api test thread making a Jenkins build hang