Wrapping pool shutdown in try/catch

Making sure that we really always call terminate to avoid other issues
like basho/riak_test#137