Add a warning when callbacks take longer than a certain time.