fix RMI connection: one-side connection works