I'm trying to create a fairly simple client/server application in java. The client has two threads and the server has two threads (per client), one for input and output. I am sending data both ways pretty much constantly over Object Streams. Read() blocks. I need to be able to interrupt the read() thread (ie to disconnect). How do I do this?