For some reason devices lose connection when keep-alive is not 5000