keep alive resource. issue 2 fixed