Set queue timeout