Fix fatal error database does not exist, by waiting 1min for formatdb to finish.