delayed queue example implemented