Fix for a failover transport deadlock that could occur if the transport is stopped at the same time a failure occurs.