Fix connection leaks in exception code paths
particularly when server is under extreme high loads,
it may throw RuntimeException, and in these exception
code paths, opened connections has to be closed
before returning the control to the caller.
Merge pull request #155 from shaochuan/1.0-leak-fix

Fix connection leaks in exception code paths
Merge branch '1.0' into 2.0