Puts up the access guard when handling a kernel panic to prevent users of
the database during the recovery to get random failures.

co-author: Lasse Westh-Nielsen