Fixed some concurrency bugs related to multiple use/restart issues in MPSearch/Strstr