add explicit close() method
add explicit close() method

Adding to garbage collection as well, but in many cases, you can't rely
on the garbage collector having run.  If you were opening connections
and not closing them, you could leak connections on the remote device.

remakeelectric/lua-libmodbus