Update to remove successfully sent statements from the queue