Add async overload of AttachGraph

Issue #1229