Add a command queue so that operations finish one at a time.