inputstreams can die a nasty death, which causes the select operation to fail when in the selected set.