Ensure failovers are handled in the proper context by running failover tasks asynchronously.