@Bob Glamm is this something you can reproduce with a reduced example that compiles? Initially if that part of the stack trace is repeating it seems to be an issue with the IO loop. Also how are you releasing resources in those input streams? Normally you'd use bracket for interacting with something like that.