Automatically restart processes

The maximum number of restarts per second is fixed and not yet settable.