Correctly closes the failover .bat