public ProxyProcess addTransfer() throws IOException { synchronized (processLock) { if (proxyProcess == null) { proxyProcess = new ProxyProcess(new ServerSocket(7777)); proxyProcess.start(); } } proxyProcess.addTransfer(); return proxyProcess; }