add hooks for callback timeouts and failures