Fixed Invoke hanging forever when action throws an exception