make keepalive to detect multiple instance