How to use simple delayed tasks in other methods.