Make wait_for not overwrite initial resource