Call machine's disconnect function.