Minor improvement on Socket usage in LUA script (address reuse option set to true)