Implementing variable timeouts, publishing timeouts