Copy added flush() call to ALAN backend.