track pending connection in a separate module