Bug 993821 - [Wifi] Event thread is blocked in WaitForEvent caused wifi stay in searching state. r=chulee