[+] implement flush for all backends