Mode idlemode and event checking into client thread