Altered to add a callback on timeout to demonstrate the ability to log when calls do timeout