introduce a handler to restart jenkins