Synchronized RMI thread.