InteractionMachine.attach call should happen last

We are currently calling `InteractionMachine.attach()` before `.done` and `.err` are defined.