Removed closing database