connection leak, get sql query done.