Added warmup and small delay after each graph update (as it could create an exception without the delay)