** Added connection.close to all connections obtained via data plugin
script handler