@Override
	public void onDestroy() {
	    super.onDestroy();  // Always call the superclass
	    // probably not needed, onStop closes the socket, which should make the thread stop (?)
	    if (recvAsyncTask != null)
	    	recvAsyncTask.cancel(true);
	    recvAsyncTask = null;
	}
@Override
	public void onDestroy() {
	    super.onDestroy(); 
	   
	    if (recvAsyncTask != null)
	    	recvAsyncTask.cancel(true);
	    recvAsyncTask = null;
	}
@override public void ondestroy() { super.ondestroy(); if (recvasynctask != null) recvasynctask.cancel(true); recvasynctask = null; }