refactoring, moving default_timeout to get_queue