Implementing restart policies: none, always, on-error