Renaming the thread safe queue to sync