add a select timeout around pird readloop so that all reads are completed even when new ones aren't coming in.
add a select timeout around pird readloop so that all reads are completed even
when new ones aren't coming in.

privacylab/talek,privacylab/talek