restart agent after config change