a sleep task, not really tested yet