use existed connection for multiple errors
Merge pull request #2 from caseycs/reuse_connection

use existed connection for multiple errors