hack to try waiting for parser thread