added parsing to know if main thread is not blocked