Check socket openness with isopen.