add support for global_timeout feature