Compute queue caller's timeout just once (bug #3091, with mods)