Merge "Synchronize access to the main looper" into nyc-dev