This commit adds a check to the returned error from calling retryCheck
such that when the max number of attempts is reached, the health check
will quit.
Add a new health check package which will periodically poll health
check functions and shutdown if we do not succeed after our set number
of attempts. The first check that we add is one for our chain backend,
to ensure that we are connected to a bitcoin node.