Change shared_ptr to client held by CLI to regular pointer so that client will destruct naturally (circular shared_ptrs existed), this was resulting in database open fails after a few clients were created in regression testing. Update register_accounts_as_delegates_test to wait in block intervals instead of absolute time.