Add maxConcurrent attribute to script_t

People tell me script_t isn't idiomatic, but I am not sure that I'm
convinced of an alternative strategy at the moment.
gofmt