a workaround for https://github.com/hazelcast/hazelcast/issues/3062