[FIX] Yara: fixed random aborts

Aborts in Yara were caused by the Thread class. I wasn't able to spot the exact problem. I switched to the simpler C++11 std::thread and the problem disappeared.
Should there be a waitfor call in the old version? Could that be the reason?