detect the absolute path & catch SocketException on KVClient.java