This is only true in the crappy system of the US.
In Europe a wire is instant with no recourse.
Most banks have processes for giving money back in some of these cases.