Added an option for netty connection pool to limit the time when connect...

...ion can be put back to pool.

Cherry-picked commit 2d70a39107 in master branch.