better restart in mongo script