restart daemon before sample events are sent and give daemon 1 second to start