Implement AppKeepAlive plugin