Changed socket select test to wait forever.