fixing dynamic resolve with keepalives