Add support for autoCloseable resonse that will release automatically connections.