Switch to eventloop model