Bugfix: also keep log open