title: java.lang.IllegalStateException: Connection pool shut down exception from spring-integration-aws library
body: <p>We are using spring-integration-aws-2.0.0 for connecting to kinesis to listen to stream. While stopping the application, always getting the following exception.</p>
  
  <pre><code>a.i.k.KinesisMessageDrivenChannelAdapter : Got an exception java.lang.IllegalStateException: Connection pool shut down during [ShardConsumer{shardOffset=KinesisShardOffset{iteratorType=TRIM_HORIZON, sequenceNumber='null', timestamp=null, stream='developer-entitlement-command-stream-local', shard='shardId-000000000000', reset=false}, state=CONSUME}] task invocation.
  Process will be retried on the next iteration.
  </code></pre>
  
  <p>though it has probably not caused any data loss yet. Has anyone got this error?</p>