wait for staging tasks to complete while draining