Add support for the failfast option