The chain block number may not be enough to check the RPC is functioning and active, a simple RPC call could ensure the RPC is in healthy state.