stop restart loop caused by nedb errors;