Attempt to make client service more resilient.
RMI uses random port and saves setting to properties file for GUI to pick up.