fixes #255: restart policy support