Delayed commands thread fix