add delay to resize so that async processes are limited