re-add my workaround for https://github.com/hazelcast/hazelcast/issues/1019, since the official fix does not appear to be working