[FIX] Thread safe fix for OMX