replace Benchmark#realtime with Benchmark#measure
fix minor bugs
set open/read timeout