Add a delay for testing purpose