Modified TapMachineEvent handler to cover more cases of the Tap's state such as a Tap rejoining the network.