Infinite loop or blocking operation in main ECL thread - what to do?