rhbz978095 - release connection after each batch push