Loader opens connection to Vertica to execute COPY statements but never closes it. This causes hanging sessions in Vertica. see how the connection is handled in index.js:687. I've created pull-request for this: https://github.com/vertica/aws-lambda-vertica-loader/pull/4