Create the mechanism to handle the timeout exception (with bug)