added log.
release the pooled object when catch exception.