set auto reconnect
we can use pool to query data