resets connectionid after disconnection
resets connectionid after disconnection