storing connection reference when receiving data in connection manager