minor refactor of async_nonce_checker.py