redis.py: always readjust the runtime + flash the DB before each step

Signed-off-by: Vlad Zolotarov <vladz@cloudius-systems.com>