Since the inclusion of PSReadline I tend to encapsulate anything I want to paste (that's not a function) in a try/catch block; then the paste will complete before execution, even if a block inside is concluded.