Added a small delay after domain replacement