public void cleanOutgoingTransfers(boolean canceled, boolean lostConnection, boolean finished) {
		for (ITransferProgress t : fileTransferAdapter.getOutgoingTransfers()) {
			if ((t.getStatus() == TransferStatus.Canceled && canceled)
					|| (t.getStatus() == TransferStatus.LostConnection && lostConnection)
					|| ((t.getStatus() == TransferStatus.Finished) && finished)) {

				t.cancel();
				t.cleanup();
			}
		}
		fileTransferAdapter.removeCleanedOutgoingDownloads();
	}