comment "handler.postDelayed(this, 1000);"
comment "handler.postDelayed(this, 1000);" and add two thread class:AcceptThread and ConnectedThread