Bot getting stuck on inputStream

I’m going to have to agree with this. You need to make your reading code in a separate thread if you want the program to accept input on the main thread.