gracefully stop logging if device fills up

https://www.bugsense.com/dashboard/project/2a5e5e70/errors/1358058075#