trying to make the keep alive working