## What We have to use the machine.connection variable outside the scope of the function when overwriting the onDisconnect function. ## Why This prevents using the same function on multiple objects.