Allow long-polling with forced returns after a given number of seconds.