adding delay to avoid failures