Making executing tasks async