### Error Message when closing

When closing an Asyncstream, an Error Message Occurs.
This message can be ignored, because the Serial Connection is closed while an internal thread is waiting for data.
B4J Code Example
`Sub Process_Globals
...
Private sp As Serial 'Library jSerial
Private astream As AsyncStreams 'Library jRandomAccessFile
Private port As String = "COM10" 'Port to listen. For a Raspberry Pi like "/dev/ttyACM0"
...
End Sub`
`Sub MainForm_Closed
...
Try
Log("Closing AStream")
If astream.IsInitialized Then astream.Close
Log("Closing Serial Port")
sp.Close
Log("Closed All")
Catch
Log(LastException.Message)
End Try
...
End Sub`
Error Message
java.lang.InterruptedException: sleep interrupted
at java.lang.Thread.sleep(Native Method)
at anywheresoftware.b4j.serial.Serial$1.read(Serial.java:122)
at anywheresoftware.b4j.serial.Serial$1.read(Serial.java:116)
at anywheresoftware.b4a.randomaccessfile.AsyncStreams$AIN.run(AsyncStreams.java:184)
at java.lang.Thread.run(Thread.java:745)

Changed: , Category: AsyncStreams, File: T6C162M1204.htm, ID: 1204