added a timer for running the command queue.