bug 1056380 - prevent double-attach