--Use this script to test if close() right after connect() results in --refusing the connection. return { connect = function (self, host, port) self:close() end, }