fixing run callback hanging, fixes #3