Add options to enable capacity measurement and fast abort in foreman.