Create ConnectedThread.java