Add timeout support to abandon long operations when notified of timeout.