Add client_{lock,unlock} before call to non_block_events