bug: ensure end cycle even when nothing has been written
Release 0.1.1