Make sure keepalive is set if all is well