Upped stopThreads timeout from 1 sec to 5 sec.