use connection pool

Signed-off-by: swpd <swpdtz@gmail.com>