[Luiza, MJ] Adding time.sleep on the code to avoid flakyness