fix Proc.read() to use select.select()