Add more reliable timeout for keepAlive test