Support alternate buffer for term based connectors
Release alternate buffer in pipeline when it was not released before