Because the withdraw funds test fails many times because the escrow amount is not updated so I just decided to add more delay to allow for the amount to get updated.