end functions are only relevant for single connections