Hazelcast Client NearCache is only working if Maximum Size is defined which is not default

Hazelcast & Guava have a different behaviour if maximum cache size is zero (Hazelcast default). Hazelcast has no limit and Guava Cache is not working at all.
 
This patch sets the maximum size only if the size is greater than zero.