[FIX] OT_API proper close