Fixed an issue with lingering transactions when a remote is unavailable.