close db connection when deploying liveblog slides