QUEUE_TIMEOUT global instead of magic number