def METHOD_NAME(
    schain_db,
    dutils,
    cleanup_schain_containers,
    skaled_status_exit_time_reached
):
    schain_record = SChainRecord.get_by_name(schain_db)
    image_name, container_name, _, _ = get_container_info(
        SCHAIN_CONTAINER, schain_db)
    dutils.run_container(image_name=image_name, name=container_name, entrypoint='bash -c "exit 0"')
    sleep(7)
    schain_record.set_failed_rpc_count(100)
    container_info = dutils.get_info(container_name)
    finished_at = container_info['stats']['State']['FinishedAt']
    assert not handle_failed_schain_rpc(
        schain={'name': schain_db},
        schain_record=schain_record,
        skaled_status=skaled_status_exit_time_reached,
        dutils=dutils
    )
    assert dutils.is_container_exists(container_name)
    container_info = dutils.get_info(container_name)
    assert container_info['stats']['State']['FinishedAt'] == finished_at