added -noEventLoop flag