Update stop eventloop when no event