manage multiple stream connections by IDs