add persistence options.

only keep pool connections open if `persistent` option
is true.