Fix timeout problem(#56) on recent Linux(3.8 or later)

Please see this patch.