Make sure logs get deleted from the block database on break