When killing the process after creating and dropping many tables (specially temporary tables), the database could not be opened sometimes.