Cluster: initialize todo_before_sleep flags to 0.