Capture in main thread