How long for flagyl to work for dogs