Made some sockets non-blocking which erroneously weren't.