Define time to wait before killing the build as a percentage of the mean of the duration of the last n successful builds.