It seems that the accept() method acts as stubborn as a mule to get a connection request even if I close it in another thread. Any idea will be deeply appreciated.