fixed reflection issue for send>
added task-sleep and selector, and a task-repeat function