KAFKA-1414 Speedup broker shutdown and startup after hard reset; patched by Alexey Ozeritskiy, Dmitry Bugaychenko and Anton Karamanov