work around script reloading bug in redis-py