Stop run when database was initialized