fix type_str check
don't exit on non-DB child processes