wip, close idle db connections