Configurable restart behavior and timeouts