fixes #31 and #36 where the bitlocker module throws an exception during attempts to reboot