added disconnect to sid pid