SPARK-2689 Fix tiny bug in JdbcRdd for closing jdbc connection