close #17, end_on_empty_queue option is a flag and true per default