Wrap specs in event loop