avoid unnecessary task creations