add tasks asynchronously