fixed jdbc connection timeout caused by an unclosed iterator
fixed dependencies