Producer and Consumer using Java-Rmi