setKeepAlive on unsafe connections