Check status of nonblocking connection