Fix async readChars on JVM.