Fix. `test_metadata` hangup on test failure.
Fix. Lua 5.2/LuaFFI skt:reset_handle() incorrect decrement socket counter in context.