This isn't an easy-to-solve problem when it comes to distributed computing.
The important thing is not having money go missing.