Wait for async processing to finish

Fixes some files not being converted