[PATCH 2/3] Added logic to perform perpetual online checks