Ruby driver bug and concurrency fixes.