Bugfix: processing all cached heat beates before reading statistics
Merge branch 'release/0.5.1'