Improve queue management.