rmi thread notify fixed