keepalive priority fix and swift updates