Seems like Kryo itself is not Kryo Serializable, so make it transient.
changed gateway connect and listen property names