Graceful failure for Keep alive

The keep alive operation will disable after 7 failures (7 * 7mins).