- make keep alive run on it's own thread