timeout based on total directories, shut down workers on control-C