def get_key_blocking(key, default=None): return blocking_connection.get(key) or str(default).encode()